<? if(! isset($_SESSION['openid_identity'])){?>
<div style="margin:30px 0 30px 0">If you have an OpenIDOO account, sign in here or <a href="/signup.php">Sign Up</a> now.</div>
<?}?>
<??>

<?php
if (isset($error) && ($error)) {
	?><div class="alert"><?=$error?></div><?
}

?>

<form method="post" action="signin.php">
<input type="hidden" name="ois_action" value="signin">
<table>
	<tr>
		<td rowspan="2"><b>Your Username :</b></td>
		
	</tr>

	<tr><? if(isset($_SESSION['openid_identity']) && ($_SESSION['openid_identity'])){	?>
			<td align="right"><b class="selected">&nbsp;</b></td>
			<td align="right"><b class="selected"><?=$_SESSION['openid_identity']?></b></td>
		<?}else{?>
			<td align="right"><b class="selected"><?=OPENIDOO_DOMAIN?> / </b></td>
			<td><input type="text" name="ois_username"  value="" /></td>
		<?}?>
	</tr>
	<tr>
		<td height="20"></td>
	</tr>
	<tr>
		<td  rowspan="2"><b>Your Password :</b></td>
	</tr>

	<tr>
		
		<td colspan="3"><input type="password" name="ois_password"  value="" /></td>
	</tr>
	<tr>
		<td height="5"></td>
	</tr>
	<tr>
		<td><input type="submit" name="ois_submit" value="Sign In" /></td>
		<td></td>
	</tr>
</table>

</form>